package com.client.model.pojo.financial;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName airui_financial_user
 */
@TableName(value ="airui_financial_user")
@Data
public class AiruiFinancialUser implements Serializable {
    /**
     * 购买理财产品中间表
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 所属用户外键
     */
    @TableField(value = "uid")
    private Long uid;

    /**
     * 0：持有  1：抛售
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 金融产品外键
     */
    @TableField(value = "item_id")
    private Long itemId;

    /**
     * 冗余字段
     */
    @TableField(value = "remark")
    private Integer remark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}